﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnyGrid.Renderers.JqGrid
{
    public class JqGridRendererOptions
    {
        /// <summary>
        /// The method used to create a jqGrid or access the API. Default is jqGrid
        /// </summary>
        public string JqGridMethod { get; set; }
        /// <summary>
        /// When translating from StringLengthAttribute.MaxWidth to colModel.width, use MaxCharacters * PixelsPerCharacter. Default is 6
        /// </summary>
        public int PixelsPerCharacter { get; set; }

        public JqGridRendererOptions()
        {
            JqGridMethod = "jqGrid";
            PixelsPerCharacter = 6;
        }
    }
}
